/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.auth.dao;

import com.xy.biz.auth.domain.po.CaptchaPO;

import java.util.Collection;

/**
 * 
 * 
 * @author zsp
 * @date 2020-8-21
 */
public interface CaptchaDao {
	
	/**
	 * 保存多个
	 *
	 * @param collection
	 */
	int saveAllCaptcha(Collection<CaptchaPO> collection);
	
	/**
	 * 查找一个
	 *
	 * @param captchaId
	 * @return
	 */
	CaptchaPO getCaptcha(Long captchaId);
	
}
